package com.auction.job.domain.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/8/25.
 */
@Service
public class SystemConfig {

    @Value("${create.order.url}")
    private String createOrderUrl;

    @Value("${open.prize.url}")
    private String openPrizeUrl;

    @Value("${archive.purchase.record.url}")
    private String archivePurchaseRecordUrl;

    @Value("${add.open.url}")
    private String addOpenUrl;

    @Value("${push.message.url}")
    private String pushMessageUrl;

    @Value("${report.data.url}")
    private String reportDataUrl;

    public String getCreateOrderUrl() {
        return createOrderUrl;
    }

    public void setCreateOrderUrl(String createOrderUrl) {
        this.createOrderUrl = createOrderUrl;
    }

    public String getOpenPrizeUrl() {
        return openPrizeUrl;
    }

    public void setOpenPrizeUrl(String openPrizeUrl) {
        this.openPrizeUrl = openPrizeUrl;
    }

    public String getArchivePurchaseRecordUrl() {
        return archivePurchaseRecordUrl;
    }

    public void setArchivePurchaseRecordUrl(String archivePurchaseRecordUrl) {
        this.archivePurchaseRecordUrl = archivePurchaseRecordUrl;
    }

    public String getAddOpenUrl() {
        return addOpenUrl;
    }

    public void setAddOpenUrl(String addOpenUrl) {
        this.addOpenUrl = addOpenUrl;
    }

    public String getPushMessageUrl() {
        return pushMessageUrl;
    }

    public void setPushMessageUrl(String pushMessageUrl) {
        this.pushMessageUrl = pushMessageUrl;
    }

    public String getReportDataUrl() {
        return reportDataUrl;
    }

    public void setReportDataUrl(String reportDataUrl) {
        this.reportDataUrl = reportDataUrl;
    }

    @Override
    public String toString() {
        return "SystemConfig{" +
                "createOrderUrl='" + createOrderUrl + '\'' +
                ", openPrizeUrl='" + openPrizeUrl + '\'' +
                ", archivePurchaseRecordUrl='" + archivePurchaseRecordUrl + '\'' +
                ", addOpenUrl='" + addOpenUrl + '\'' +
                ", pushMessageUrl='" + pushMessageUrl + '\'' +
                ", reportDataUrl='" + reportDataUrl + '\'' +
                '}';
    }
}
